UPDATE C1_REGION SET END_DATE = SYSDATE, DATA_STATE_CODE = '0' WHERE
INSTR(','||:regionIds||',', ','||REGION_ID||',') > 0